package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 视频学习管理对象 sys_video_learning
 * 
 * @author ruoyi
 * @date 2022-08-27
 */
public class SysVideoLearning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 封面 */
    @Excel(name = "封面")
    private String imgUrl;

    /** 视频 */
    @Excel(name = "视频")
    private String videoUrl;

    /** 视频时长(秒) */
    @Excel(name = "视频时长(秒)")
    private Long videoTime;

    /** 诈骗类型 */
    @Excel(name = "诈骗类型")
    private Long topicName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setVideoTime(Long videoTime) 
    {
        this.videoTime = videoTime;
    }

    public Long getVideoTime() 
    {
        return videoTime;
    }
    public void setTopicName(Long topicName) 
    {
        this.topicName = topicName;
    }

    public Long getTopicName() 
    {
        return topicName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("imgUrl", getImgUrl())
            .append("videoUrl", getVideoUrl())
            .append("videoTime", getVideoTime())
            .append("topicName", getTopicName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
